package com.tdwyz.fictionmanage.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author 14543
 * @version 1.0
 * @description: TODO
 * @date 2024/7/28 15:41
 */
@Data
public class Chapter {
    private Integer id;
    private Integer fictionId;
    private Integer number;//章节序号“第XX章”
    private String name;
    private String content;
    private Integer createUser;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
}
